Skip to content

fix: Add github known hosts to docker image#56

Merged
sdankel merged 1 commit intomasterfrom
sophie/gh-known-hosts
May 15, 2025
Merged

fix: Add github known hosts to docker image#56
sdankel merged 1 commit intomasterfrom
sophie/gh-known-hosts

Conversation

@sdankel
Copy link
Copy Markdown
Contributor

@sdankel sdankel commented May 15, 2025

This PR fixes this error that occurs when the server tries to clone the forc.pub-index repo from github:

 error: Publish error: Repository error: Failed to clone repository: invalid or unknown remote ssh hostkey; class=Ssh (23); code=Certificate (-17)

Adding github's ssh keys to known_hosts fixes the issue. I was verified this locally.

@vercel
Copy link
Copy Markdown

vercel bot commented May 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
forc-pub ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 4:00pm

@sdankel sdankel requested a review from a team May 15, 2025 16:00
@sdankel sdankel marked this pull request as ready for review May 15, 2025 16:00
@sdankel sdankel marked this pull request as draft May 15, 2025 17:23
@sdankel sdankel marked this pull request as ready for review May 15, 2025 18:51
@sdankel sdankel merged commit 63b4c97 into master May 15, 2025
11 checks passed
@sdankel sdankel deleted the sophie/gh-known-hosts branch May 15, 2025 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants